<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2019/12/7
  Time: 22:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<form name="form2" method="post" action="doRequest1.jsp">
    <table>
        <tr>
            <td colspan="2" align="center">注册系统</td>

        </tr>
        <tr>
            <td align="right">用户名:</td>
            <td align="left"><input type="text" name="userName"></td>
        </tr>
        <tr>
            <td>爱好:</td>
            <td><input type="checkbox" name="fav" value="运动">运动
                 <input type="checkbox" name="fav" value="唱歌">唱歌
                <input type="checkbox" name="fav" value="编程">编程
            </td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="提交"></td>
        </tr>
    </table>
    <a href="doRequest1.jsp?userName=李四">测试url</a>
</form>
</body>
</html>
